package org.example.entitys.managers;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * @Description 课程的实体类
 * @Author 魏锴
 * @Date 2023/11/10
 */

@Data
@NoArgsConstructor
@AllArgsConstructor
public class Course {
    public int id;
    public String course_name;
    public Date created_time;
    public int status;
    public int activity_id;
    public int teacher_id;
    public int class_id;

    public Course(String course_name, int activity_id) {
        this(-1, course_name, new Date(), 0, activity_id, -1, -1);
    }
}
